package com.plugin.core.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 交接班表
 *
 * @author plugin
 * @since 2025-07-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("elder_scheduling")
public class ElderScheduling implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 班次(白/晚班)
     */
    @TableField("shift_type")
    private String shiftType;

    /**
     * 交班人员
     */
    @TableField("nurse_give_name")
    private String nurseGiveName;

    /**
     * 接班人员
     */
    @TableField("nurse_take_name")
    private String nurseTakeName;

    /**
     * 是否巡更
     */
    @TableField("is_guard")
    private Integer isGuard;
}
